import React, {useState} from "react";

import Hello from "./components/Hello";
import Tab from "./components/Tab"

export default function LayOut() {

    const [userInfo] = useState({
        title: "千峰教育",
        username: "baobao",
        composition: {
            frontend: "React",
            backend: "JavsWeb"
        }
    })
    return(
        <div>
            <Hello userInfo={userInfo} />
            <hr />
            <Tab userInfo={userInfo} />
        </div>
    )
}